package com.example.hxds.odr.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author XUYANG
 * @Date 2024-03-21 14:02
 */
@Data
@Schema(description = "查询正在进行订单表单")
public class SearchDriverExecuteOrderForm {
    @NotNull(message = "订单Id不能为空")
    @Min(value = 1,message = "订单ID不能小于1")
    @Schema(description = "订单ID")
    private Long orderId;
    @NotNull(message = "订单司机Id不能为空")
    @Min(value = 1,message = "订单司机ID不能小于1")
    @Schema(description = "订单司机ID")
    private Long driverId;
}
